<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class JSONUtils {
	
	public static function toJSON($array) {
		return json_encode($array);
	}
	
	public static function toArray($json){
		return json_decode($json);
	}
}